/**
 * 
 */
package com.webclient.components;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;
import java.awt.Insets;
import java.awt.Window;

import javax.swing.border.EmptyBorder;

import com.webclient.WebClent;

/**
 * 主面板的标题栏
 * qq:297051898
 * @author luxf
 */
public class MainFrameTitlelBar extends WindowTitleBar {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public MainFrameTitlelBar(final Window window) {
		super(null, window);
		// 软件logo
		LogoLabel logLabel = new LogoLabel(WebClent.config.getBrowserInfo());
		Font font = new Font(logLabel.getFont().getFontName(), Font.BOLD | Font.ITALIC, 15);
		logLabel.setFont(font);
		logLabel.setForeground(Color.WHITE);
		logLabel.setBorder(new EmptyBorder(new Insets(5, 20, 10, 10)));
		logLabel.setSize(500, 600);
		add(logLabel, BorderLayout.WEST);
		
	}
}
